package com.lihang.system.service.impl;

import com.lihang.system.entity.Study;
import com.lihang.system.mapper.StudyMapper;
import com.lihang.system.service.IStudyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lihang
 * @since 2023-05-13
 */
@Service
public class StudyServiceImpl extends ServiceImpl<StudyMapper, Study> implements IStudyService {
    @Autowired StudyMapper studyMapper;
    /**
     * 学习科研————科研成果
     */
    @Override
    public List<Study> study(Integer stuId) {
        List<Study> study = studyMapper.study(stuId);
        return study;
    }
}
